<!--
 * @Author: Badcandy 568197314@qq.com
 * @Date: 2022-12-30 20:47:30
 * @LastEditors: Badcandy 568197314@qq.com
 * @LastEditTime: 2022-12-30 21:50:35
 * @FilePath: \dcollege\src\components\chatBox\chatBox.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by Badcandy 568197314@qq.com, All Rights Reserved. 
-->
<template>
  <div class="chatBox">
    <div class="chatBox-input">
      <var-input
        class="input"
        :hint="false"
        :line="false"
        placeholder="请输入文本"
        v-model="value"
      />
    </div>
    <div class="chatBox-button">
      <var-icon :size="25" class="chat-fire" name="fire" />
      <var-icon :size="25" class="chat-plus" name="plus-circle-outline" />
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";

const value = ref("");
</script>

<style lang="less" scoped>
.chatBox {
  position: absolute;
  bottom: 0%;
  display: flex;
  background-color: #fff;
  width: 100%;
  height: 3rem;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.chatBox-input {
  display: flex;
  background-color: rgb(244, 245, 249);
  flex-direction: column;
  align-items: center;
  flex:1 auto;
  margin-left: 0.7rem;
  border-radius: 3.2rem;
  padding-left: 0.8rem;
}
.chatBox-button{
    display: flex;
    flex: 0.3 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
</style>
